
package com.joysuch.wwyt.monitoringcenter.bean;

import com.joysuch.wwyt.bp.bean.BpSystemVideoAddBean;
import com.joysuch.wwyt.core.bean.BaseAttachmentBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 报警接口就对照维维的表格用下面这种格式吧
 * [
 * {
 * "id":"报警id",
 * "module":"所属模块中文描述，如：重大危险源",
 * "type":"报警类型中文描述，如：温度",
 * "title":"报警标题中文描述，如：温度报警",
 * "content":"报警内容中文描述，如：[储罐区]MS-0272A丁二烯球罐温度：23.4℃"
 * }
 * ]
 *
 * @since
 */

@Data
public class McAlarmMessageBean {

    private Long id;
    private Long riskDistrictId;
    private String extentId;
    private String module;
    private String type;
    private String title;
    private String content;
    //报警等级
    private String alarmLevel;
    private Integer state;
    private String time;

    //中心点坐标
    private Double x;
    private Double y;
    private Double z;
    private Long floorId;

    @ApiModelProperty("POINT 监测点  FACILITY 设备  HAZARD 危险源 INSPECT 巡检排查")
    private String classify;

    @ApiModelProperty("监测点类型编号")
    private String pointTypeCode;

    @ApiModelProperty("大屏设备id")
    private Long deviceId;

    @ApiModelProperty("危险源id")
    private Long mhHazardId;

    @ApiModelProperty("监测点id")
    private Long pointId;

    //AI特殊字段
    // 报警图片
    private BaseAttachmentBean alarmPic;
    //摄像头名称
    private String cameraName;

    @ApiModelProperty("sn号")
    private String sn;

    private List<BpSystemVideoAddBean> videoList;
}
